//
//  AuthenService.h
//  HxgProject
//
//  Created by hxg on 2018/3/27.
//  Copyright © 2018年 XMYY-19. All rights reserved.
//

#import <Foundation/Foundation.h>

@class ContactInfo,ReputationDetail,ResObject,PersonInfo;
@interface AuthenService : NSObject


/**
    APP端查询“个人认证信息”
 */
- (void)getUserInfoWithCallBack:(void(^)(PersonInfo *person))callBack;


/*
    保存用户信息
 */
- (void)setUserInfoWithPerson:(PersonInfo *)person
               withCallBack:(void(^)(BOOL isSuccess))callBack;


/**
 保存紧急联系人

 @param contactInfo 紧急联系人
 @param callBack 成功与否的回调
 */
- (void)saveContacts:(ContactInfo *)contactInfo
        withCallBack:(void(^)(ResObject *resObj)) callBack;



/**
 获取紧急联系人

 @param callBack 返回的回调
 */
- (void)getContactsWithCallBack:(void(^)(ContactInfo *info)) callBack;

/**
 保存荣誉认证信息

 @param reputationDetail 三方支付信息
 @param callBack 返回的回调
 */
- (void)saveReputationDetail:(ReputationDetail *)reputationDetail
        withCallBack:(void(^)(BOOL isSuccess)) callBack;


/**
 获取荣誉认证信息

 @param callBack 返回的回调
 */
- (void)getReputationDetailWithCallBack:(void(^)(ReputationDetail *rep)) callBack;


@end
